package view 
{
	import flash.text.TextField;
	/**
	 * ...
	 * @author bimkute
	 */
	public class TopPlayers extends Base 
	{
		private var i:int;
		private var _arrStt:Array;
		private var _arrName:Array;
		public function TopPlayers(type:String) 
		{
			addContent("TopPlayer", "playGame");
			content.stop();
			
			content.txtListType.mouseEnabled = false;
			content.txtListType.text = type;
			
			_arrStt = [];
			_arrName = [];
			
			for (i = 0; i < 10; i++) 
			{
				var txt1:TextField = content["sttTxt" + String(i + 1)];
				txt1.mouseEnabled = false;
				_arrStt.push(txt1);
				
				var txt2:TextField = content["nameTxt" + String(i + 1)];
				txt2.mouseEnabled = false;
				_arrName.push(txt2);
			}
			
		}
		
	}

}